﻿ALTER TABLE [ServiceEngine].[Entities_EntityGroups]  WITH CHECK ADD  CONSTRAINT [FK_EntityGroups_Entities_EntityGroups] FOREIGN KEY([EntityGroupID])
REFERENCES [ServiceEngine].[EntityGroups] ([EntityGroupID])
ON UPDATE CASCADE
ON DELETE CASCADE
